using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Microsoft.Xna.Framework.Graphics;

namespace amazingfishing.sprites
{
    public class Eddy : Sprite
    {
        public Eddy(Texture2D _img, Vector2 _position,Point _frameSize,Point _sheetSize,int _timeperFrame)
            : base(_img, _position,_frameSize,_sheetSize,_timeperFrame)
        {
        }
    

        public override Rectangle CollisionRect()
        {
            Rectangle rect = new Rectangle((int)(position.X+20), (int)(position.Y+10),
                    (int)((frameSize.X-30)), (int)((frameSize.X-30)));

            return rect;
        }
    }
}